package models

type EquipmentType struct {
	Id int `json:"id"`
	Name string `json:"name"`
	Pic string `json:"pic"`
}

var (
	EquipmentTypes map[int]*EquipmentType
)

const (
	SOCKET = 1
)

func init()  {
	EquipmentTypes = make(map[int]*EquipmentType)
	EquipmentTypes[SOCKET] = &EquipmentType{
		Id:1,
		Name:"插座",
	}
}